/* Source: https://github.com/openshiporg/docs/blob/main/styles.css */
.ch-terminal {
  font-size: 14px;
  height: 100%;
  box-sizing: border-box;
  background: #1e1e1e;
  color: #fafafa;
  overflow: hidden;
  padding: 0 8px 8px;
  font-family: Ubuntu, Droid Sans, -apple-system, BlinkMacSystemFont, Segoe WPC,
    Segoe UI, sans-serif;
}
.ch-terminal-container .ch-frame-content {
  background-color: inherit;
}
.ch-terminal-prompt {
  color: #8fa2db;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.ch-terminal-content {
  margin: 0;
}
.ch-terminal-output {
  opacity: 0.66;
}
.ch-code-line-number {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: right;
  display: inline-block;
  box-sizing: border-box;
  padding-right: 1.5ch;
  font-variant-numeric: tabular-nums;
}
.ch-code-scroll-parent {
  display: block;
  font-weight: 400;
  font-size: 13px;
  line-height: 19px;
  letter-spacing: 0;
  border-radius: 0;
  background-color: unset;
  color: unset;
  padding: 0;
  box-sizing: content-box;
  border: none;
  width: unset !important;
}
.ch-code-scroll-parent ::-moz-selection {
  background-color: var(--ch-selection-background);
  color: inherit;
}
.ch-code-scroll-parent ::selection {
  background-color: var(--ch-selection-background);
  color: inherit;
}
.ch-code-multiline-mark-border {
  width: 3px;
  height: 100%;
  position: absolute;
  left: 0;
}
.ch-code-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}
.ch-no-scroll {
  overflow: hidden;
}
.ch-expand-dialog {
  height: 100vh;
  width: 100vw;
  max-width: 900px;
  border: 0;
  background-color: transparent;
}
.ch-expand-dialog::-webkit-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}
.ch-expand-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}
.ch-expand-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #fff;
  width: 26px;
  height: 26px;
}
.ch-expand-dialog-content {
  color: #fff;
  position: absolute;
  inset: 40px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid;
}
.ch-code-browser {
  display: flex;
  height: 100%;
  font-family: Ubuntu, Droid Sans, -apple-system, BlinkMacSystemFont, Segoe WPC,
    Segoe UI, sans-serif;
}
.ch-code-browser-button {
  max-width: 20px;
  margin-left: auto;
}
.ch-code-browser-sidebar {
  border-right: 1px solid;
  min-width: 100px;
  padding: 1em 0;
  font-size: 0.95rem;
}
.ch-code-browser-content {
  overflow: auto;
  flex: 1;
  padding: 1em;
  white-space: pre;
  font-family: monospace;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2rem;
  letter-spacing: 0;
}
.ch-code-browser-content ::-moz-selection {
  background-color: var(--ch-selection-background);
  color: inherit;
}
.ch-code-browser-content ::selection {
  background-color: var(--ch-selection-background);
  color: inherit;
}
.ch-code-browser-sidebar-file,
.ch-code-browser-sidebar-folder {
  padding: 0.1em 1em;
}
.ch-code-browser-sidebar-file {
  cursor: pointer;
}
.ch-code-browser-sidebar-file:hover {
  background-color: var(--ch-hover-background);
  color: var(--ch-hover-foreground);
}
.ch-editor-tab {
  border-right: 1px solid #252526;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
  flex-shrink: 1;
  position: relative;
  display: flex;
  white-space: nowrap;
  cursor: pointer;
  height: 100%;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #2d2d2d;
  color: hsla(0, 0%, 100%, 0.5);
  border-bottom: 1px solid;
}
.ch-editor-tab-active {
  background-color: #1e1e1e;
  color: #fff;
  min-width: unset;
}
.ch-editor-tab > div {
  margin-top: auto;
  margin-bottom: auto;
  font-size: 12px;
  line-height: 1.4em;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ch-editor-frame {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  font-family: Ubuntu, Droid Sans, -apple-system, BlinkMacSystemFont, Segoe WPC,
    Segoe UI, sans-serif;
  -moz-column-break-inside: avoid;
  break-inside: avoid;
  --ch-title-bar-height: 30px;
  height: 100%;
  min-height: var(--ch-scrollycoding-code-min-height, 200px);
}
.ch-editor-frame .ch-frame-title-bar {
  background: none;
}
.ch-editor-terminal {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  width: 100%;
  background-color: #1e1e1e;
  color: #e7e7e7;
  border-top: 1px solid hsla(0, 0%, 50.2%, 0.35);
  padding: 0 8px;
  box-sizing: border-box;
}
.ch-editor-terminal-tab {
  text-transform: uppercase;
  padding: 4px 10px 3px;
  font-size: 11px;
  line-height: 24px;
  display: flex;
}
.ch-editor-terminal-tab > span {
  border-bottom: 1px solid #e7e7e7;
}
.ch-editor-terminal-content {
  margin-top: 8px;
  height: calc(100% - 40px);
  box-sizing: border-box;
}
.ch-editor-terminal-content .ch-terminal {
  font-size: 12px;
  margin: 0;
}
.ch-editor-button {
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
  min-width: 1.5em;
  min-height: 1.5em;
  margin-right: 0.8em;
  position: sticky;
  right: 0.8em;
  background-color: #2d2d2d;
  z-index: 3;
}
.ch-frame {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ch-frame,
.ch-simple-frame {
  font-family: Ubuntu, Droid Sans, -apple-system, BlinkMacSystemFont, Segoe WPC,
    Segoe UI, sans-serif;
  -moz-column-break-inside: avoid;
  break-inside: avoid;
  --ch-title-bar-height: 30px;
}
.ch-simple-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 13px 27px -5px rgba(84, 84, 85, 0.25),
    0 8px 16px -8px rgba(0, 0, 0, 0.3), 0 -6px 16px -6px rgba(0, 0, 0, 0.025);
}
.ch-frame-content {
  background-color: var(--ch-content-background, #fafafa);
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-height: 0;
}
.ch-frame-zoom {
  --ch-frame-zoom: 1;
  overflow: auto;
  position: relative;
  width: calc(100% / var(--ch-frame-zoom));
  height: calc(100% / var(--ch-frame-zoom));
  transform: scale(var(--ch-frame-zoom));
  transform-origin: left top;
}
.ch-frame-title-bar {
  font-size: 12px;
  width: 100%;
  height: var(--ch-title-bar-height);
  min-height: var(--ch-title-bar-height);
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
  align-items: center;
  background-color: var(--ch-content-background, #252526);
  color: #ebebed;
  position: relative;
}
.ch-frame-middle-bar {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.2em;
}
.ch-frame-left-bar,
.ch-frame-right-bar {
  flex-grow: 1;
  flex-basis: 1em;
  height: 100%;
  display: flex;
  align-items: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.ch-frame-buttons {
  margin: 0 0.8em;
  flex-shrink: 0;
  height: 1em;
  width: 4.16em;
  display: flex;
  position: sticky;
  position: -webkit-sticky;
  left: 0.8em;
  z-index: 3;
  background-color: #2d2d2d;
}
.ch-frame-button {
  width: 1em;
  height: 1em;
  border: 0.08em solid;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
}
.ch-frame-button-space {
  width: 0.56em;
}
.ch-frame-button-left {
  border-color: #ce5347;
  background-color: #ed6b60;
}
.ch-frame-button-middle {
  border-color: #d6a243;
  background-color: #f5be4f;
}
.ch-frame-button-right {
  border-color: #58a942;
  background-color: #62c554;
}
.ch-mini-browser {
  height: 100%;
}
.ch-mini-browser .ch-frame-content iframe,
.ch-mini-browser .ch-frame-content video {
  border: none;
  position: absolute;
  height: 100%;
  width: 100%;
}
.ch-mini-browser .ch-frame-title-bar input {
  height: 1.4em;
  font-size: 1em;
  border-radius: 0.5em;
  border: none;
  box-shadow: none;
  flex: 1;
  padding: 0 10px;
  color: #544;
  min-width: 5px;
  width: 5px;
}
.ch-browser-button {
  margin: 0 1em;
  color: #999;
}
.ch-browser-back-button {
  margin-left: 0.2em;
}
.ch-browser-forward-button {
  margin-left: 0;
}
.ch-browser-open-button {
  color: inherit;
}
.ch-browser-open-icon {
  display: block;
}
.ch-spotlight {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}
.ch-spotlight-tabs {
  display: flex;
  flex-flow: column;
  margin-right: 10px;
  flex: 1;
  gap: 0.5rem;
  align-items: stretch;
}
.ch-spotlight-tab {
  border-radius: 0.25rem;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
  border: 1px solid #e3e3e3;
}
.ch-spotlight-tab:hover {
  border-color: #222;
}
.ch-spotlight-tab[data-selected] {
  border-color: #0070f3;
}
.ch-spotlight-sticker {
  position: -webkit-sticky;
  position: sticky;
  top: 10vh;
  display: flex;
  align-self: stretch;
  flex-flow: column;
  justify-content: center;
  width: 420px;
  min-height: min(100%, 80vh);
  max-height: 80vh;
}
.ch-spotlight-sticker .ch-codeblock,
.ch-spotlight-sticker .ch-codegroup {
  width: 100%;
  min-width: 100%;
  min-height: min(100%, 80vh);
  max-height: 80vh;
  margin-top: 0;
  margin-bottom: 0;
  flex: 1;
}
.ch-spotlight-with-preview .ch-spotlight-sticker {
  height: 80vh;
  gap: 0.5rem;
}
.ch-spotlight-with-preview .ch-spotlight-sticker .ch-codeblock,
.ch-spotlight-with-preview .ch-spotlight-sticker .ch-codegroup {
  min-height: 0;
  flex: 1;
}
.ch-spotlight-with-preview .ch-spotlight-preview {
  height: 280px;
}
.ch-scrollycoding {
  display: flex;
  position: relative;
  margin: 1rem 0;
  padding-top: 1rem;
}
.ch-scrollycoding-content {
  box-sizing: border-box;
  padding-right: 24px;
  flex: 1;
}
.ch-scrollycoding-step-content {
  border-radius: 8px;
  margin: 0 -0.5rem;
  padding-right: 1rem;
  border: 1.5px solid transparent;
  min-height: 180px;
  cursor: pointer;
  @apply relative opacity-75 transition before:absolute before:inset-0 before:-z-10 before:-ml-4 before:mt-4 before:-mb-4 before:rounded-xl before:transition-colors;
}
.ch-scrollycoding-step-content[data-selected] {
  @apply opacity-100 before:bg-white/90 contrast-more:before:ring-1 contrast-more:before:ring-black dark:before:bg-black/10 dark:contrast-more:before:ring-white;
}
.ch-scrollycoding-step-content > :first-child {
  /* margin-top: 0; */
}
.ch-scrollycoding-step-content > :last-child {
  margin-bottom: 0;
}
.ch-scrollycoding-sticker {
  width: var(--ch-scrollycoding-sticker-width, 420px);
  max-height: 80vh;
  @apply sticky top-28 flex max-h-[calc(100vh-7rem)] w-[20rem] flex-col justify-center self-start xl:top-24 xl:max-h-[calc(100vh-6rem)] xl:w-[22rem] 2xl:w-[27rem];
}
.ch-scrollycoding-with-preview .ch-scrollycoding-sticker {
  height: 80vh;
  gap: 0.5rem;
}
.ch-scrollycoding-with-preview .ch-scrollycoding-sticker .ch-codeblock,
.ch-scrollycoding-with-preview .ch-scrollycoding-sticker .ch-codegroup {
  flex: 1;
}
.ch-scrollycoding-with-preview .ch-scrollycoding-preview {
  height: 280px;
}
.ch-scrollycoding-sticker .ch-codeblock,
.ch-scrollycoding-sticker .ch-codegroup {
  width: 100%;
  min-width: 100%;
  min-height: var(--ch-scrollycoding-code-min-height, 200px);
  max-height: 80vh;
  margin-top: 0;
  margin-bottom: 0;
}
.ch-slideshow {
  margin: 1rem 0;
}
.ch-slideshow-slide {
  display: flex;
  flex-flow: row;
  gap: 0.5rem;
  align-items: stretch;
  aspect-ratio: 16/9;
}
.ch-slideshow-slide .ch-codeblock,
.ch-slideshow-slide .ch-codegroup {
  flex: 2;
  margin-top: 0;
  margin-bottom: 0;
  height: auto;
}
.ch-slideshow .ch-slideshow-preview {
  flex: 1;
  height: auto;
  min-width: 0;
}
.ch-slideshow-range {
  display: flex;
  flex-flow: row;
  gap: 0.5rem;
}
.ch-slideshow-range input {
  flex: 1;
}
.ch-slideshow-notes {
  border-radius: 0.25rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #e3e3e3;
}
.ch-slideshow-note {
  min-height: 140px;
  max-height: 140px;
  padding: 0.05px;
  overflow: auto;
}
.ch-codeblock,
.ch-codegroup,
.ch-preview {
  border-radius: 0.75rem;
  overflow: hidden;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  box-shadow: 0 13px 27px -5px rgba(29, 29, 29, 0.1),
    0 8px 16px -8px rgba(0, 0, 0, 0.3), 0 -6px 16px -6px rgba(0, 0, 0, 0.025);
}
.ch-codeblock > *,
.ch-codegroup > *,
.ch-preview > * {
  height: 100%;
  max-height: inherit;
  min-height: inherit;
}
.ch-codeblock,
.ch-codegroup {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.ch-inline-code > code {
  padding: 0.2em 0.15em;
  margin: 0.1em -0.05em;
  border-radius: 0.25em;
  font-size: 0.9rem;
}
.ch-section-link,
.ch-section-link * {
  text-decoration: underline;
  -webkit-text-decoration-style: dotted;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  -webkit-text-decoration-color: var(--ch-code-foreground, currentColor);
  text-decoration-color: var(--ch-code-foreground, currentColor);
}
.ch-section-link[data-active='true'] {
  background-color: rgba(186, 230, 253, 0.4);
}
.ch-section-link[data-active='true'],
.ch-section-link[data-active='true'] * {
  text-decoration-thickness: 1.5px;
}
