/* Mist Isle layout refinements for the help index and article reader. */
body:has(.help) .top-back,
body:has(.help-total) .top-back {
  display: none;
}

body:has(.help) .template > .el-container > .el-container,
body:has(.help-total) .template > .el-container > .el-container {
  min-width: 0;
}

body:has(.help-total) .template > .el-container > .el-container > .el-main {
  min-width: 0;
}

body:has(.help-total) .help-total > .el-container > .el-container > .el-main > .main-card {
  overflow: hidden;
}

body:has(.help-total) .help-total .main-card .main-card-title {
  height: auto;
  margin-bottom: 14px;
  font-size: 21px;
}

body:has(.help-total) .help-total .main-card .search-input {
  width: min(100%, 420px);
  height: 40px;
  margin-bottom: 22px;
}

body:has(.help-total) .help-total .main-card .search-input .el-input__inner {
  height: 40px;
}

body:has(.help-total) .help-total .back-img {
  width: min(290px, 25%);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  top: -14px;
  right: 18px;
  opacity: 0.45;
}

body:has(.help-total) .help-total .main-card-content {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  margin-top: 18px;
}

body:has(.help-total) .help-total .content-left,
body:has(.help-total) .help-total .contnet-right-out,
body:has(.help-total) .help-total .content-right {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
}

body:has(.help-total) .help-total .content-left {
  overflow: hidden;
  border: 1px solid var(--ui-border, #e5e7eb);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

body:has(.help-total) .help-total .content-left-text {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 14px 16px;
  background: #f6f8fb;
  color: var(--ui-text, #1e2736);
  font-size: 15px;
  line-height: 1.4;
}

body:has(.help-total) .help-total .content-left-menu .el-menu {
  border: 0;
  background: transparent;
}

body:has(.help-total) .help-total .content-left-menu .el-submenu__title,
body:has(.help-total) .help-total .content-left-menu .el-menu-item {
  min-width: 0;
  color: var(--ui-text, #1e2736);
}

body:has(.help-total) .help-total .content-left-menu .el-menu-item {
  line-height: 1.4;
  height: auto;
  min-height: 42px;
  padding-top: 10px;
  padding-bottom: 10px;
  white-space: normal;
}

body:has(.help-total) .help-total .content-left-menu .el-menu-item.is-active {
  background: var(--ui-brand-soft, #eaf1ff);
  color: var(--ui-brand, #1a56db);
}

body:has(.help-total) .help-total .content-right {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--ui-border, #e5e7eb);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  overflow-wrap: anywhere;
}

body:has(.help-total) .help-total .right-title {
  color: var(--ui-text, #1e2736);
  font-size: 20px;
  line-height: 1.4;
}

body:has(.help-total) .help-total .right-keywords-time {
  flex-wrap: wrap;
  gap: 4px 14px;
}

body:has(.help-total) .help-total .right-keywords-time .right-time,
body:has(.help-total) .help-total .right-keywords-time .right-keywords {
  margin-left: 0;
  color: var(--ui-text-muted, #667085);
  line-height: 1.5;
}

body:has(.help-total) .help-total .right-content {
  max-width: 100%;
  color: var(--ui-text, #1e2736);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body:has(.help-total) .help-total .help-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: var(--ui-text-muted, #667085);
  font-size: 14px;
}

body:has(.help-total) .help-total .right-content table {
  max-width: 100%;
}

body:has(.help-total) .help-total .right-content img,
body:has(.help-total) .help-total .right-content video {
  max-width: 100%;
  height: auto;
}

body:has(.help-total) .help-total .right-attachment {
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--ui-text-muted, #667085);
}

body:has(.help-total) .help-total .contnet-right-out .page {
  gap: 12px;
  margin-left: 0;
}

@media (max-width: 760px) {
  .help .main-card .search-input,
  .help .main-card .search-input .el-input__inner,
  .help-total .main-card .search-input,
  .help-total .main-card .search-input .el-input__inner {
    width: 100%;
    height: 42px;
  }

  .help .back-img {
    display: none;
  }

  body:has(.help-total) .help-total .back-img {
    display: none;
  }

  body:has(.help-total) .help-total .main-card-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body:has(.help-total) .help-total .content-left-menu {
    max-height: 260px;
    overflow: auto;
  }

  body:has(.help-total) .help-total .content-right {
    min-height: 240px;
    padding: 16px;
  }

  body:has(.help-total) .help-total .right-title {
    font-size: 18px;
  }

  body:has(.help-total) .help-total .contnet-right-out .page {
    flex-direction: column;
    align-items: stretch;
  }
}
