:root {
  --im-rainbow: linear-gradient(90deg, #bd3d93, #f0a51a, #d8cf20, #56ae65, #159dc1);
  --docs-topbar-height: 44px;
}


.docs-page #top {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #222;
}

.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: currentColor;
  flex: 0 0 auto;
  vertical-align: -.125em;
}

.docs-page #main {
  background: #fff;
  padding-top: 0;
  padding-bottom: 0px;
}

.docs-page #header {
  display: none;
}

.docs-page #bottom .container,
.docs-page #main>.container {
  width: calc(100% - 48px);
  max-width: 1440px;
}

.docs-page #main>.container>main>#content {
  float: none;
  width: 100%;
}

.docs-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 190px;
  gap: 40px;
  align-items: start;
}

/* The panes carry no vertical padding of their own -- it lives on the
   `.docs-pane-inner` scroller below, so pane content scrolls all the way up to
   the sticky topbar rather than clipping partway down and leaving a band of
   dead white between the bar and the first visible entry. */
.docs-navigation,
.docs-outline {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--docs-topbar-height);
  height: calc(100vh - var(--docs-topbar-height));
  min-height: 0;
  overflow: hidden;
}

.docs-brand {
  display: block;
  margin-bottom: 24px;
  padding: 0 8px;
}

.docs-brand img {
  display: block;
  max-width: 100%;
  height: auto;
}

.docs-create-insight {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin-bottom: 24px;
  border: 1px solid #cacaca;
  border-radius: 4px;
  background-image: linear-gradient(#ffffff 0%, #e9e9e9 100%);
  color: #191919;
  font: normal 22px/38px Rokkitt, "Times New Roman", serif;
  white-space: nowrap;
  padding: 0 14px;
}

.docs-create-insight:hover {
  border-color: #089bc3;
  text-decoration: none;
}

.docs-create-insight .svg-icon {
  width: 14px;
  height: 14px;
  opacity: .6;
}

.docs-pane-inner {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 0 16px;
  scrollbar-color: #cbd4dc transparent;
  scrollbar-width: thin;
}

.docs-pane-inner::-webkit-scrollbar {
  width: 8px;
}

.docs-pane-inner::-webkit-scrollbar-track {
  background: transparent;
}

.docs-pane-inner::-webkit-scrollbar-thumb {
  background: #cbd4dc;
  border: 2px solid #fff;
  border-radius: 8px;
}

.docs-navigation {
  border-right: 1px solid #e8eaed;
  min-width: 0;
}

.docs-navigation .docs-pane-inner {
  padding-right: 18px;
}

.docs-navigation .docs-pane-inner {
  scroll-snap-type: y mandatory;
  animation: docs-navigation-release 1ms linear 150ms forwards;
}

.docs-navigation .docs-nav-current>span {
  scroll-snap-align: center;
}

@keyframes docs-navigation-release {
  to {
    scroll-snap-type: none;
  }
}

.docs-navigation-title {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #202124;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 0 8px;
}

.docs-navigation-title:hover {
  color: #087d9d;
  text-decoration: none;
}

.docs-navigation ul {
  list-style: none;
}

.docs-navigation li {
  min-width: 0;
}

.docs-navigation li>a,
.docs-navigation li>span {
  box-sizing: border-box;
  display: block;
  color: #555b61;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 19px;
  overflow-wrap: anywhere;
}

.docs-navigation li>a:hover {
  color: #087d9d;
  background: #f7fafb;
  text-decoration: none;
}

.docs-navigation li>ul {
  border-left: 1px solid #e2e5e8;
  margin: 2px 0 8px 10px;
  padding-left: 8px;
}

.docs-navigation>.docs-pane-inner>ul>li>a,
.docs-navigation>.docs-pane-inner>ul>li>span {
  color: #282c30;
  font-weight: 700;
  margin-top: 4px;
}

.docs-navigation .docs-nav-current>span {
  color: #087d9d;
  background: #f3f4f6;
  font-weight: 700;
}

.docs-article {
  width: 100%;
  max-width: 780px;
  min-width: 0;
  justify-self: center;
  padding-top: 24px;
  padding-bottom: 40px;
}

.docs-article-header {
  position: relative;
  border-bottom: 1px solid #e8eaed;
  margin-bottom: 30px;
  padding-bottom: 24px;
}

.docs-article-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 3px;
  background: var(--im-rainbow);
  border-radius: 3px;
}

.docs-article-header h1 {
  color: #202124;
  font: normal 44px/48px Rokkitt, "Times New Roman", serif;
  overflow-wrap: anywhere;
  scroll-margin-top: calc(var(--docs-topbar-height) + 24px);
}

.docs-article-content {
  color: #303438;
  font-size: 15px;
  line-height: 26px;
}

/* Interactive widgets carry an inline min-height (routes/docs.js) that
   reserves their hydrated size so loading them doesn't shift the page;
   border-box makes that height cover the border and the placeholder
   padding in both the raw and hydrated states. */
.docs-article-content .im-interactive {
  box-sizing: border-box;
}

/* The units span's smaller font otherwise inflates the value bar's line
   box by 1px, breaking the reserved height. */
.docs-article-content .im-interactive-value-units {
  line-height: 1;
}

/* Errors render as a single line in the results slot, with the value
   bar's exact metrics, so an erroring formula needs no special height
   handling; long messages scroll horizontally (scrollbar hidden so it
   can't add height). Panel errors (nested deeper) keep their default
   wrapping style. */
.docs-article-content .im-interactive-widget>.im-interactive-error {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid #e2e8f0;
  background: #f1f5f9;
  padding: 7px 10px;
  line-height: 26px;
}

.docs-article-content .im-interactive-widget>.im-interactive-error::-webkit-scrollbar {
  display: none;
}


.docs-article-content .docs-insight-embed {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 560px;
  margin: 12px 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.docs-article-content> :first-child {
  margin-top: 0 !important;
}

.docs-article-content p,
.docs-article-content ul,
.docs-article-content ol,
.docs-article-content table,
.docs-article-content blockquote,
.docs-article-content pre,
.docs-article-content figure {
  margin: 16px 0;
}

.docs-article-content h1,
.docs-article-content h2,
.docs-article-content h3,
.docs-article-content h4,
.docs-article-content h5,
.docs-article-content h6 {
  color: #202124;
  font-family: Rokkitt, "Times New Roman", serif;
  font-weight: 400;
  scroll-margin-top: calc(var(--docs-topbar-height) + 24px);
}

.docs-article-content h1 {
  font-size: 36px;
  line-height: 40px;
  margin: 36px 0 14px;
}

.docs-article-content h2 {
  font-size: 30px;
  line-height: 35px;
  margin: 42px 0 14px;
  padding-top: 28px;
}

.docs-article-content h3 {
  font-size: 24px;
  line-height: 30px;
  margin: 30px 0 12px;
}

.docs-article-content h4 {
  font-size: 20px;
  line-height: 26px;
  margin: 24px 0 10px;
}

.docs-article-content ul,
.docs-article-content ol {
  padding-left: 24px;
}

.docs-article-content li {
  margin: 6px 0;
}

.docs-article-content ul ul,
.docs-article-content ul ol,
.docs-article-content ol ul,
.docs-article-content ol ol {
  margin: 4px 0;
}


.docs-article-content table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.docs-article-content th,
.docs-article-content td {
  border: 1px solid #e1e5e8;
  padding: 8px 12px;
  text-align: left;
}

.docs-article-content th {
  background: #fafbfb;
  font-weight: 700;
}

.docs-article-content pre {
  border: 1px solid #dfe3e6;
  border-radius: 6px;
  background: #fbfcfc;
  box-sizing: border-box;
  overflow-x: auto;
  padding: 14px 16px;
}

.docs-article-content pre>code {
  display: inline-block;
  min-width: 100%;
  white-space: pre;
  overflow-wrap: normal;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 22px;
}

.docs-article-content code {
  overflow-wrap: anywhere;
}

.docs-article-content :not(pre)>code {
  border-radius: 4px;
  background: #f2f4f5;
  padding: 2px 5px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 88%;
}


.docs-article-content code.docs-formula {
  background: none;
  padding: 0;
}

.docs-article-content code.docs-formula>a {
  color: inherit;
  text-decoration: none;
}


.docs-article-content .hl-comment {
  color: #940;
}

.docs-article-content .hl-string {
  color: #a11;
}

/* numbers, and in a formula the `[Primitive]` references and values with
   units the editors count as literals too */
.docs-article-content .hl-number {
  color: #0000cd;
}

.docs-article-content .hl-atom {
  color: #219;
}

.docs-article-content .hl-keyword {
  color: #708;
}

.docs-article-content .hl-function {
  color: #256;
}

.docs-article-content .hl-property {
  color: #00c;
}

.docs-article-content blockquote {
  border-left: 4px solid #d9dee2;
  color: #59636e;
  padding: 0 16px;
}

/* Callouts, written as `> [!NOTE]` blockquotes (see the alert rule in
   routes/docs.js). GitHub's geometry, with its palette for every type
   but Note, which takes the site's teal. */
.docs-article-content .markdown-alert {
  border-left: 4px solid #d9dee2;
  margin: 16px 0;
  padding: 8px 16px;
  color: inherit;
}

.docs-article-content .markdown-alert> :first-child {
  margin-top: 0;
}

.docs-article-content .markdown-alert> :last-child {
  margin-bottom: 0;
}

.docs-article-content .markdown-alert-title {
  align-items: center;
  display: flex;
  font-weight: 600;
  line-height: 1;
}

.docs-article-content .markdown-alert-icon {
  fill: currentColor;
  flex-shrink: 0;
  margin-right: 8px;
}

.docs-article-content .markdown-alert-note {
  border-left-color: #087d9d;
}

.docs-article-content .markdown-alert-note .markdown-alert-title {
  color: #087d9d;
}

.docs-article-content .markdown-alert-tip {
  border-left-color: #1a7f37;
}

.docs-article-content .markdown-alert-tip .markdown-alert-title {
  color: #1a7f37;
}

.docs-article-content .markdown-alert-important {
  border-left-color: #8250df;
}

.docs-article-content .markdown-alert-important .markdown-alert-title {
  color: #8250df;
}

.docs-article-content .markdown-alert-warning {
  border-left-color: #9a6700;
}

.docs-article-content .markdown-alert-warning .markdown-alert-title {
  color: #9a6700;
}

.docs-article-content .markdown-alert-caution {
  border-left-color: #cf222e;
}

.docs-article-content .markdown-alert-caution .markdown-alert-title {
  color: #cf222e;
}

.docs-outline h2 {
  color: #202124;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

#docs-page-outline {
  border-left: 1px solid #e2e5e8;
  display: flex;
  flex-direction: column;
}

#docs-page-outline a {
  color: #687078;
  font-size: 12px;
  line-height: 18px;
  padding: 4px 0 4px 12px;
}

#docs-page-outline a.outline-h3 {
  padding-left: 22px;
}

#docs-page-outline a:hover,
#docs-page-outline a.is-active {
  color: #087d9d;
  text-decoration: none;
}

#docs-page-outline a.is-active {
  border-left: 2px solid #089bc3;
  font-weight: 700;
  margin-left: -1px;
}

.book-navigation {
  border-top: 1px solid #e8eaed;
  margin-top: 48px;
  padding-top: 24px;
}

.docs-child-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  list-style: none;
  margin-bottom: 28px;
}

.docs-child-links a {
  display: block;
  border: 1px solid #e1e5e8;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
}

.docs-child-links a:hover {
  border-color: #8dcbd9;
  background: #fbfefe;
  text-decoration: none;
}

.book-navigation .page-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  border: 0;
  padding: 0;
}

.book-navigation .page-links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: auto;
}

.book-navigation .page-next {
  text-align: right;
}

.page-direction {
  color: #747b82;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.docs-navigation-toggle {
  display: none;
}

@media only screen and (max-width: 1100px) {
  .docs-shell {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 32px;
  }

  .docs-outline {
    display: none;
  }
}

@media only screen and (max-width: 760px) {

  .docs-page #bottom .container,
  .docs-page #main>.container {
    width: calc(100% - 32px);
  }

  .docs-page #main {
    padding-top: 24px;
  }

  .docs-article {
    padding-top: 0;
  }

  .docs-brand {
    display: none;
  }

  .docs-navigation-toggle {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    color: #303438;
    background: #fff;
    border: 1px solid #dfe3e6;
    border-radius: 6px;
    padding: 9px 12px;
    font: 700 14px/20px Arial, Helvetica, sans-serif;
    cursor: pointer;
  }

  .docs-navigation-toggle span {
    flex: 1;
    text-align: left;
  }

  .docs-navigation-chevron {
    transition: transform 160ms ease;
  }

  .docs-navigation-toggle[aria-expanded="true"] .docs-navigation-chevron {
    transform: rotate(180deg);
  }

  .docs-shell {
    display: block;
    padding-top: 24px;
  }

  .docs-navigation {
    display: none;
    position: static;
    height: auto;
    overflow: visible;
    border: 1px solid #e1e5e8;
    border-radius: 6px;
    margin: -12px 0 24px;
    padding: 16px;
  }

  .docs-navigation.is-open {
    display: block;
  }

  .docs-navigation .docs-pane-inner {
    height: auto;
    max-height: min(60vh, 520px);
    padding-top: 0;
    padding-bottom: 0;
  }

  .docs-article-header h1 {
    font-size: 38px;
    line-height: 42px;
  }

  .docs-child-links {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 480px) {

  .docs-page #bottom .container,
  .docs-page #main>.container {
    width: calc(100% - 24px);
  }

  .docs-article-header h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .docs-article-content h2 {
    font-size: 27px;
    line-height: 32px;
  }

  .book-navigation .page-links {
    grid-template-columns: 1fr;
  }

  .book-navigation .page-next {
    text-align: left;
  }
}