:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #242a35;
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #3bb69d;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1440px) / 2 + 24px));
  border-bottom: 1px solid #e8ebf0;
}
ul {
  padding-inline-start: 20px;
}
.brand-logo {
  height: 32px;
}
.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.search-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 180px;
  padding: 8px 12px;
  color: #687478;
  background: white;
  border: 1px solid #dfe4e4;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}
.search-shortcut {
  font-size: 12px;
  color: #7a8494;
}
.search-icon,
.toc-icon,
.page-toolbar,
.copy-status {
  display: none;
}
#search-dialog {
  width: min(600px, calc(100% - 32px));
  max-height: min(75vh, 700px);
  margin: 10vh auto auto;
  padding: 20px;
  border: 1px solid #dfe4e4;
  border-radius: 12px;
  box-shadow: 0 16px 48px #0003;
}
#search-dialog::backdrop {
  background: #10182080;
}
.search-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-dialog-header h2 {
  font-size: 18px;
  margin: 0;
}
.search-close {
  border: 0;
  background: none;
  font-size: 26px;
  color: #556171;
  cursor: pointer;
}
.search-label {
  display: block;
  font-size: 13px;
  margin: 12px 0 6px;
}
#search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd4d4;
  border-radius: 6px;
  font: inherit;
}
#search-status {
  color: #687478;
  font-size: 13px;
}
#search-results {
  padding: 0;
  margin: 0;
  list-style: none;
}
#search-results a {
  display: block;
  padding: 10px;
  border-radius: 6px;
}
#search-results a:hover,
#search-results a:focus-visible {
  background: #eff8f6;
}
#search-results span {
  display: block;
  color: #556171;
  font-size: 13px;
  margin-top: 4px;
}
.layout {
  max-width: 1440px;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr) 230px;
  margin: auto;
}
.desktop-nav {
  height: calc(100vh - 64px);
  overflow: auto;
  position: sticky;
  top: 0;
  padding: 24px;
  border-right: 1px solid #e8ebf0;
}
.page-toc {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow: auto;
  padding: 42px 20px;
}
.page-toc h2 {
  margin-top: 0;
}
.page-toc li a,
.mobile-toc li a {
  line-height: 1.4;
}
.page-toc li a[aria-current],
.mobile-toc li a[aria-current] {
  color: #3bb69d;
  font-weight: 600;
}
.mobile-toc {
  display: none;
}
nav h2,
aside h2 {
  color: #1c1d1d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 20px 0 8px;
}
nav ul,
aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li a,
aside li a {
  display: block;
  color: #556171;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 300;
}
nav li a[aria-current],
aside li a[aria-current] {
  color: #3bb69d;
  font-weight: 600;
}
.nav-branch {
  position: relative;
}
.nav-branch > a {
  padding-right: 42px;
}
.nav-children > summary {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  cursor: pointer;
  list-style: none;
}
.nav-children > summary::-webkit-details-marker {
  display: none;
}
.nav-children > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #1c1d1d;
  border-bottom: 1.5px solid #1c1d1d;
  transform: rotate(-45deg);
  transition: transform 220ms ease;
}
.nav-children[open]:not(.is-closing) > summary::after {
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .nav-children > summary::after {
    transition: none;
  }
}
.nav-children > ul {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid #dfe4eb;
}
.nav-children > ul > li > a[aria-current] {
  border-left: 2px solid #3bb69d;
  border-radius: 0;
  margin-left: -13px;
  padding-left: 21px;
}
main {
  min-width: 0;
  padding: 42px 48px 80px;
}
article {
  max-width: 850px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.next-page {
  max-width: 850px;
  margin-top: 48px;
}
.next-page > a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid #e2e7e5;
  border-radius: 12px;
  color: #1c1d1d;
  text-align: right;
  overflow-wrap: anywhere;
  transition: border-color 150ms ease;
}
.next-page > a:hover,
.next-page > a:focus-visible {
  border-color: #3bb69d;
  text-decoration: none;
}
.next-page > a:hover .next-title,
.next-page > a:focus-visible .next-title {
  color: #3bb69d;
}
.next-page > a:focus-visible {
  outline: 2px solid #3bb69d;
  outline-offset: 2px;
}
.next-label,
.next-title {
  display: block;
}
.next-label {
  color: #69706e;
  font-size: 12px;
  line-height: 16px;
}
.next-title {
  font-size: 16px;
  line-height: 22px;
}
.next-arrow {
  width: 8px;
  height: 8px;
  flex: none;
  border-top: 1.5px solid #69706e;
  border-right: 1.5px solid #69706e;
  transform: rotate(45deg);
}
article h1,
article h2,
article h3,
article h4 {
  color: #171d29;
  line-height: 1.3;
  margin-top: 1.8em;
  scroll-margin-top: 24px;
}
article h1 {
  font-size: 36px;
  margin-top: 0;
}
article img {
  max-width: 100%;
  height: auto;
}
.embed-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #dfe4e4;
  border-radius: 6px;
  color: #1c1d1d;
  line-height: 1.5;
  text-decoration: none;
}
.embed-card:hover,
.embed-card:focus-visible {
  border-color: #3bb69d;
  text-decoration: none;
}
.embed-card:focus-visible {
  outline: 2px solid #3bb69d;
  outline-offset: 2px;
}
article .embed-card-icon {
  width: 24px;
  height: 24px;
  flex: none;
  object-fit: contain;
}
.embed-card-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.embed-card-title,
.embed-card-publisher {
  display: block;
}
.embed-card-arrow {
  width: 8px;
  height: 8px;
  flex: none;
  border-top: 1.5px solid #69706e;
  border-right: 1.5px solid #69706e;
  transform: rotate(45deg);
}
article figure {
  margin: 24px 0;
}
article table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}
article th,
article td {
  border: 1px solid #dfe4eb;
  padding: 8px 12px;
}
article pre {
  overflow: auto;
  padding: 16px;
  background: #f5f7fa;
  border-radius: 8px;
}
article blockquote,
.hint {
  margin: 20px 0;
  padding: 1px 18px;
  border-left: 4px solid #6aa2ee;
  background: #f0f6ff;
}
.missing-file {
  margin: 20px 0;
  padding: 12px 16px;
  border: 1px solid #e9c986;
  background: #fff8e6;
  border-radius: 6px;
}
.audit-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #dfe4e4;
  border-radius: 8px;
}
.audit-file-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.audit-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 500px) {
  .audit-file {
    align-items: flex-start;
    flex-direction: column;
  }
}
.mobile-nav {
  display: none;
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 350px minmax(0, 1fr);
  }
  .page-toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    margin-bottom: 24px;
  }
  .mobile-toc > summary {
    cursor: pointer;
    font-weight: 600;
  }
}
@media (max-width: 800px) {
  header {
    padding: 0 16px;
    justify-content: flex-start;
    gap: 16px;
  }
  .brand {
    flex: 1;
    min-width: 0;
    line-height: 0;
  }
  .brand-logo {
    height: 24px;
  }
  .header-actions {
    gap: 8px;
  }
  .website-link,
  .search-shortcut,
  .search-label-text {
    display: none;
  }
  .search-trigger {
    width: 40px;
    height: 40px;
    min-width: 0;
    padding: 8px;
    border-radius: 12px;
  }
  .search-icon {
    display: block;
    width: 24px;
    height: 24px;
  }
  .layout {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav > summary::-webkit-details-marker {
    display: none;
  }
  .menu-icon {
    width: 20px;
    height: auto;
  }
  .mobile-nav > nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: white;
    padding: 12px 20px 24px;
    border-bottom: 1px solid #e8ebf0;
    box-shadow: 0 8px 16px #0002;
    z-index: 10;
  }
  main {
    position: relative;
    padding: 24px 16px 64px;
  }
  .page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 32px;
    margin-bottom: 16px;
    padding-right: 38px;
  }
  .page-category {
    color: #3bb69d;
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .page-tools,
  .copy-control {
    display: flex;
    flex: none;
    align-items: center;
  }
  .copy-control {
    border: 1px solid #d5dcda;
    border-radius: 8px;
    color: #69716f;
  }
  .copy-page,
  .copy-options > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    color: inherit;
    cursor: pointer;
  }
  .copy-page {
    gap: 6px;
    padding: 0 8px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
  }
  .copy-page svg {
    width: 17px;
    height: 17px;
  }
  .copy-options {
    position: relative;
    border-left: 1px solid #d5dcda;
  }
  .copy-options > summary {
    width: 28px;
    list-style: none;
  }
  .copy-options > summary::-webkit-details-marker,
  .mobile-toc > summary::-webkit-details-marker {
    display: none;
  }
  .copy-options > summary span {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .copy-link {
    position: absolute;
    z-index: 3;
    top: 34px;
    right: 0;
    width: 145px;
    padding: 10px;
    border: 1px solid #d5dcda;
    border-radius: 8px;
    background: white;
    color: #242a35;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 12px #0002;
  }
  .copy-status:not(:empty) {
    display: block;
    margin: -8px 0 12px;
    color: #556171;
    font-size: 13px;
  }
  .mobile-toc {
    position: absolute;
    top: 24px;
    right: 16px;
    z-index: 2;
    margin: 0;
  }
  .mobile-toc > summary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d5dcda;
    border-radius: 8px;
    color: #69716f;
    background: #f7f9f8;
    list-style: none;
  }
  .toc-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .toc-icon {
    display: block;
    width: 20px;
    height: 20px;
  }
  .mobile-toc > nav {
    position: absolute;
    top: 36px;
    right: 0;
    width: min(320px, calc(100vw - 32px));
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #d5dcda;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px #0002;
  }
  article h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }
  article > h1 + p {
    color: #69716f;
    font-size: 18px;
    line-height: 1.55;
  }
}
