.docs-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.docs-grid .doc-card {
  min-height: 170px;
  height: 100%;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
}

.doc-card-body {
  min-width: 0;
  display: grid;
  align-content: center;
}

.doc-card-body > small,
.doc-card-body > h2,
.doc-card-body > p,
.doc-card-body > em {
  justify-self: start;
}

.manual-hero {
  align-items: stretch;
  margin-bottom: 18px;
}

.manual-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 720px;
}

.manual-hero-copy > p {
  max-width: 700px;
}

.manual-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.manual-hero-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(3, 18, 16, .34);
  color: #9fbdb3;
  font-size: .72rem;
  font-weight: 800;
}

.manual-hero-side {
  position: relative;
  z-index: 1;
  width: min(330px, 34%);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: rgba(3, 18, 16, .42);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
}

.manual-hero-side > b {
  max-width: 270px;
  color: #d8ebe4;
  font-size: 1.15rem;
  line-height: 1.45;
}

.manual-anchor-nav {
  position: sticky;
  top: 76px;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(6, 21, 20, .98) 78%, transparent);
}

.manual-anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 42, 39, .9);
  color: #9fbbb2;
  font-size: .76rem;
  font-weight: 800;
}

.manual-anchor-nav a:hover,
.manual-anchor-nav a:focus-visible {
  border-color: rgba(105, 230, 189, .42);
  color: var(--jade);
}

.manual-layout {
  padding: 34px 0 100px;
}

.manual-layout .guide-content {
  width: 100%;
}

.manual-layout #manual-overview,
.manual-layout #manual-features,
.manual-layout #manual-screenshots,
.manual-layout #manual-install,
.manual-layout #manual-version {
  scroll-margin-top: 145px;
}

.screenshot-chapter {
  padding: 34px;
  border: 1px solid rgba(105, 230, 189, .12);
  border-radius: 24px;
  background: radial-gradient(circle at 100% 0, rgba(105, 230, 189, .08), transparent 24rem), rgba(7, 29, 27, .64);
}

.manual-gallery {
  display: grid;
  gap: 17px;
}

.manual-gallery.desktop,
.manual-gallery.mobile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manual-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: rgba(3, 18, 16, .78);
}

.manual-shot > a {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071b19;
}

.manual-gallery.desktop .manual-shot > a,
.manual-gallery.mobile .manual-shot > a {
  aspect-ratio: 16 / 10;
}

.manual-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
  transition: transform .25s ease;
}

.manual-gallery.desktop .manual-shot img {
  object-fit: cover;
}

.manual-shot > a:hover img,
.manual-shot > a:focus-visible img {
  transform: scale(1.018);
}

.manual-shot figcaption {
  min-height: 115px;
  padding: 18px 19px;
}

.manual-shot figcaption b {
  color: #e3f2ed;
  font-size: .98rem;
}

.manual-shot figcaption p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.manual-version-section {
  padding-top: 8px;
}

.manual-version-list {
  display: flex;
  gap: 8px;
  padding-bottom: 7px;
  overflow-x: auto;
}

.manual-version-list a,
.manual-version-list button {
  flex: 0 0 auto;
  min-width: 145px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  gap: 3px;
  background: rgba(12, 42, 39, .54);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.manual-version-list a:hover,
.manual-version-list a[aria-current="page"],
.manual-version-list button:hover,
.manual-version-list button:focus-visible,
.manual-version-list button[aria-current="page"] {
  border-color: rgba(105, 230, 189, .42);
  background: rgba(105, 230, 189, .09);
}

.manual-version-list b {
  color: #d9eee7;
  font-size: .84rem;
}

.manual-version-list a[aria-current="page"] b,
.manual-version-list button[aria-current="page"] b {
  color: var(--jade);
}

.manual-version-list small {
  color: #718f85;
  font-size: .68rem;
}

.guide-chapter {
  margin-top: 54px;
}

.guide-chapter-heading {
  margin-bottom: 22px;
}

.guide-chapter-heading h2,
.guide-tips h2 {
  margin: 7px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.guide-chapter-heading > p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-start-grid article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(19, 57, 53, .76), rgba(7, 28, 26, .85));
}

.quick-start-grid article > span,
.feature-guide-card header > span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.quick-start-grid h3 {
  margin: 15px 0 7px;
  font-size: 1.05rem;
}

.quick-start-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
}

.feature-shortcuts {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 4px;
  overflow-x: auto;
}

.feature-shortcuts a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9dbbb1;
  font-size: .72rem;
  font-weight: 800;
}

.feature-shortcuts a:hover,
.feature-shortcuts a:focus-visible {
  border-color: rgba(105, 230, 189, .36);
  background: rgba(105, 230, 189, .08);
  color: var(--jade);
}

.feature-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-guide-card {
  scroll-margin-top: 100px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--tone) 12%, transparent), transparent 13rem), rgba(12, 42, 39, .72);
}

.feature-guide-card header {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.feature-guide-card h3 {
  margin: 5px 0 0;
  font-size: 1.22rem;
  line-height: 1.35;
}

.feature-path {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 17px 0 10px;
  color: #c6ddd5;
  font-size: .8rem;
  font-weight: 700;
}

.feature-path b {
  flex: 0 0 auto;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(105, 230, 189, .1);
  color: var(--jade);
  font-size: .68rem;
}

.feature-description {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.feature-guide-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.feature-guide-card li {
  position: relative;
  padding: 7px 0 7px 17px;
  border-top: 1px solid rgba(255, 255, 255, .045);
  color: #bad1c9;
  font-size: .81rem;
}

.feature-guide-card li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
}

.guide-steps.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.guide-steps.compact section {
  grid-template-columns: 38px 1fr;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 15px;
  background: rgba(10, 35, 32, .45);
}

.guide-steps.compact h3 {
  font-size: .98rem;
}

.guide-steps.compact p {
  font-size: .8rem;
}

.guide-tips {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 30px;
  margin-top: 50px;
  padding: 27px 30px;
  border: 1px solid rgba(242, 198, 109, .2);
  border-radius: 20px;
  background: radial-gradient(circle at 8% 20%, rgba(242, 198, 109, .08), transparent 15rem), rgba(13, 41, 38, .68);
}

.guide-tips h2 {
  font-size: 1.4rem;
}

.guide-tips ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-tips li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #bfd3cc;
  font-size: .84rem;
}

.guide-tips li:last-child {
  border-bottom: 0;
}

.guide-tips li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.faq-toolbar {
  margin-bottom: 38px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 42, 39, .7);
}

.faq-search {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.faq-search > span {
  color: var(--jade);
  font-size: .8rem;
  font-weight: 900;
}

.faq-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(105, 230, 189, .2);
  border-radius: 12px;
  outline: 0;
  background: rgba(3, 18, 16, .66);
  color: var(--text);
  font: inherit;
}

.faq-search input::placeholder {
  color: #6f9085;
}

.faq-search input:focus {
  border-color: rgba(105, 230, 189, .58);
  box-shadow: 0 0 0 3px rgba(105, 230, 189, .08);
}

.faq-filters {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.faq-filters button {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #9ebbb1;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}

.faq-filters button:hover,
.faq-filters button[aria-pressed="true"] {
  border-color: rgba(105, 230, 189, .36);
  background: rgba(105, 230, 189, .1);
  color: var(--jade);
}

.faq-result {
  margin: 9px 0 0;
  color: #74978b;
  font-size: .72rem;
}

.faq-catalog {
  min-width: 0;
}

.faq-group {
  margin-bottom: 46px;
  scroll-margin-top: 100px;
}

.faq-group > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(105, 230, 189, .12);
}

.faq-group > header h2 {
  margin: 5px 0 0;
  color: #dceee8;
  font-size: 1rem;
  font-weight: 600;
}

.faq-group > header small {
  flex: 0 0 auto;
  color: #6e9185;
  font-size: .72rem;
}

.faq-group .faq-list details[hidden],
.faq-group[hidden] {
  display: none;
}

.faq-empty {
  margin-bottom: 38px;
}

@media (max-width: 920px) {
  .manual-hero-side {
    width: min(360px, 42%);
  }

  .quick-start-grid {
    grid-template-columns: 1fr;
  }

  .quick-start-grid article {
    min-height: 0;
  }

  .feature-guide-grid,
  .guide-steps.compact {
    grid-template-columns: 1fr;
  }

  .manual-gallery.desktop,
  .manual-gallery.mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 779px) {
  .manual-hero {
    display: grid;
    gap: 24px;
  }

  .manual-hero-side {
    width: 100%;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .manual-hero-side .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .manual-anchor-nav {
    top: 66px;
    width: 100%;
    padding-inline: 14px;
  }

  .manual-layout {
    padding-top: 25px;
  }

  .guide-chapter {
    margin-top: 42px;
  }

  .feature-shortcuts {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .guide-tips {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .screenshot-chapter {
    margin-inline: -4px;
    padding: 25px;
  }

  .faq-toolbar {
    margin-bottom: 28px;
    padding: 18px;
  }

  .faq-search {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .faq-filters {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .faq-group {
    margin-bottom: 36px;
  }
}

@media (max-width: 440px) {
  .docs-grid .doc-card {
    min-height: 154px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    padding: 21px;
  }

  .docs-grid .product-symbol {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .manual-hero-meta span {
    padding: 6px 9px;
  }

  .manual-hero-side {
    padding: 21px;
  }

  .manual-gallery.desktop,
  .manual-gallery.mobile {
    grid-template-columns: 1fr;
  }

  .manual-gallery.mobile .manual-shot > a {
    aspect-ratio: 4 / 5;
  }

  .screenshot-chapter {
    padding: 20px;
  }

  .quick-start-grid article,
  .feature-guide-card {
    padding: 20px;
  }

  .guide-steps.compact section {
    grid-template-columns: 32px 1fr;
    padding: 17px;
  }
}
