/* Docsify layout skeleton — replaces vue.css (no theme / no font imports) */

html, body {
  height: 100%;
  margin: 0;
}

body:not(.ready) {
  overflow: hidden;
}

body:not(.ready) [data-cloak],
body:not(.ready) .app-nav,
body:not(.ready) > nav {
  display: none;
}

img {
  max-width: 100%;
}

img.emoji {
  height: 1.2em;
  vertical-align: middle;
}

.progress {
  background-color: var(--theme-color, #3451b2);
  height: 2px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: width 0.2s, opacity 0.4s;
  width: 0%;
  z-index: 999999;
}

main {
  display: block;
  position: relative;
  width: 100vw;
  height: 100%;
  z-index: 0;
}

main.hidden {
  display: none;
}

.sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 20;
}

.sidebar li.collapse .app-sub-sidebar {
  display: none;
}

.sidebar ul {
  margin: 0;
  padding: 0;
}

.sidebar ul,
.sidebar ul li {
  list-style: none;
}

.sidebar ul li a {
  display: block;
}

.sidebar-toggle {
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  cursor: pointer;
  z-index: 30;
}

.sidebar-toggle span {
  background-color: var(--theme-color, #3451b2);
  display: block;
  margin-bottom: 4px;
  width: 16px;
  height: 2px;
}

body.sticky .sidebar,
body.sticky .sidebar-toggle {
  position: fixed;
}

.content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

.markdown-section {
  position: relative;
}

.markdown-section > * {
  box-sizing: border-box;
  font-size: inherit;
}

.markdown-section > :first-child {
  margin-top: 0 !important;
}

.markdown-section ul.task-list > li {
  list-style-type: none;
}

.anchor {
  display: inline-block;
  text-decoration: none;
}

.search a:hover {
  color: var(--theme-color, #3451b2);
}

.search .search-keyword {
  color: var(--theme-color, #3451b2);
  font-style: normal;
  font-weight: bold;
}

.docsify-copy-code-button {
  position: absolute;
  z-index: 1;
  cursor: pointer;
}

@media (min-width: 769px) {
  body.close .sidebar {
    transform: translateX(calc(-1 * var(--vp-sidebar-width, 272px)));
  }

  body.close section.content,
  body.close .content {
    left: 0 !important;
  }
}

@media print {
  .sidebar-toggle,
  .sidebar,
  .app-nav {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .sidebar-toggle,
  .sidebar {
    position: fixed;
  }

  main {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .sidebar {
    left: calc(-1 * var(--vp-sidebar-width, 272px));
    transition: transform 250ms ease-out;
  }

  .content {
    left: 0 !important;
    max-width: 100vw;
    position: static !important;
    transition: transform 250ms ease;
  }

  .sidebar-toggle {
    width: auto;
    padding: 30px 30px 10px 10px;
  }

  body.close .sidebar {
    transform: translateX(var(--vp-sidebar-width, 272px));
  }

  body.close section.content,
  body.close .content {
    transform: translateX(var(--vp-sidebar-width, 272px));
  }
}
