body.lq-docs-page {
  background-color: #fff;
}

.lq-docs {
  --lq-ink: #10243a;
  --lq-muted: #495b6d;
  --lq-blue: #07579c;
  --lq-line: #d9e2eb;
  --lq-soft: #f3f7fb;
  box-sizing: border-box;
  width: min(100% - 40px, 1400px);
  margin: 36px auto 64px;
  color: var(--lq-ink);
  font: 16px/1.65 system-ui, "Microsoft YaHei", sans-serif;
  text-align: left;
}
.lq-docs *, .lq-docs *::before, .lq-docs *::after { box-sizing: border-box; }
.lq-docs a { color: var(--lq-blue); text-decoration: underline; text-underline-offset: .18em; }
.lq-docs a:hover { text-decoration-thickness: 2px; }
.lq-docs :focus-visible { outline: 2px solid var(--lq-blue); outline-offset: 3px; }
.lq-docs-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0 18px; border-bottom: 1px solid var(--lq-line); }
.lq-docs .lq-docs-name { color: var(--lq-ink); font-size: 20px; font-weight: 700; text-decoration: none; }
.lq-docs-search { display: flex; gap: 8px; flex: 0 1 480px; margin: 0; }
.lq-docs-search label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.lq-docs-search input, .lq-docs-search button { min-height: 44px; margin: 0; border-radius: 5px; font: inherit; }
.lq-docs-search input { flex: 1; min-width: 0; padding: 6px 12px; border: 1px solid #a8bbce; background: white; color: var(--lq-ink); }
.lq-docs-search button { position: static; display: inline-block; width: auto; padding: 6px 18px; border: 1px solid var(--lq-blue); background: var(--lq-blue); color: white; cursor: pointer; white-space: nowrap; }
.lq-docs-layout { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(24px, 4vw, 58px); padding-top: 22px; }
.lq-docs-sidebar { min-width: 0; padding: 0 16px 0 0; border-right: 1px solid var(--lq-line); font-size: 14px; }
.lq-docs-sidebar ul { margin: 0; padding: 0; list-style: none; }
.lq-docs-sidebar li { margin: 0; padding: 0; list-style: none; }
.lq-docs-sidebar a { display: block; padding: 7px 9px; border-radius: 4px; color: var(--lq-ink); text-decoration: none; overflow-wrap: anywhere; }
.lq-docs-sidebar a:hover, .lq-docs-sidebar a[aria-current="page"] { background: var(--lq-soft); color: var(--lq-blue); }
.lq-docs-sidebar a[aria-current="page"], .lq-docs-directory { font-weight: 700; }
.lq-docs-sidebar nav { --lq-toggle-width: 32px; --lq-row-height: 37px; }
.lq-docs-sidebar nav li > a { margin-inline-start: var(--lq-toggle-width); min-height: var(--lq-row-height); }
.lq-docs-branch { position: relative; }
.lq-docs-branch > details { margin: 0; padding: 0; border: 0; }
.lq-docs-branch > details > summary {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: var(--lq-toggle-width);
  height: var(--lq-row-height);
  padding: 0;
  border-radius: 4px;
  list-style: none;
  color: var(--lq-muted);
  cursor: pointer;
}
.lq-docs-branch > details > summary::-webkit-details-marker { display: none; }
.lq-docs-branch > details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.lq-docs-branch > details[open] > summary::after { transform: rotate(45deg); }
.lq-docs-branch > details > summary:hover { background: var(--lq-soft); color: var(--lq-blue); }
.lq-docs-branch > details > ul { margin: 0 0 4px 15px; padding-inline-start: 4px; border-inline-start: 1px solid var(--lq-line); }
.lq-docs-directory-toggle > summary { display: none; }
.lq-docs-content { min-width: 0; max-width: 1020px; overflow-wrap: anywhere; }
.lq-docs-content h1 { margin: 3px 0 16px; color: var(--lq-ink); font: 700 clamp(26px, 3vw, 38px)/1.22 system-ui, "Microsoft YaHei", sans-serif; }
.lq-docs-content h2 { margin: 1.3em 0 .5em; font-size: 1.35em; }
.lq-docs-content h3 { margin: 1.2em 0 .5em; font-size: 1.15em; }
.lq-docs-content p { margin: .6em 0 1em; }
.lq-docs-note, .lq-docs-breadcrumbs { color: var(--lq-muted); }
.lq-docs-breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 0 0 14px; font-size: 14px; }
.lq-docs-sections, .lq-docs-results, .lq-docs-links { margin: 16px 0 0; padding: 0; list-style: none; }
.lq-docs-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); gap: 12px; }
.lq-docs-sections li, .lq-docs-results li, .lq-docs-links li { margin: 0; padding: 0; list-style: none; }
.lq-docs-sections a { display: flex; justify-content: space-between; min-height: 64px; padding: 18px; border: 1px solid var(--lq-line); border-radius: 7px; background: var(--lq-soft); font-weight: 650; text-decoration: none; }
.lq-docs-sections a:hover { border-color: var(--lq-blue); }
.lq-docs-results li, .lq-docs-links li { padding: 10px 0; border-bottom: 1px solid var(--lq-line); }
.lq-docs-results a { font-weight: 700; }
.lq-docs-results p { margin: 5px 0 0; color: var(--lq-muted); }
.lq-docs-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lq-docs-pagination .page-numbers { padding: 4px 9px; border: 1px solid var(--lq-line); }
.lq-docs-body ul, .lq-docs-body ol { padding-inline-start: 1.4em; }
.lq-docs-body ul { list-style: disc; }
.lq-docs-body ol { list-style: decimal; }
.lq-docs-body li { list-style: inherit; }
.lq-docs-body img { max-width: 100%; height: auto; }
.lq-docs-body figure { max-width: 100%; margin: 1em 0; }
.lq-docs-body figcaption { margin-top: 5px; color: var(--lq-muted); font-size: 14px; }
.lq-docs-body .table-wrap, .lq-docs-body .wp-block-table { max-width: 100%; overflow-x: auto; }
.lq-docs-body table { margin: 12px 0 16px; border-collapse: collapse; }
.lq-docs-body th, .lq-docs-body td { padding: 5px 8px; border: 1px solid var(--lq-line); }
.lq-docs-body th { background: var(--lq-soft); }
.lq-docs-body pre { overflow: auto; padding: 12px; background: var(--lq-soft); }
.lq-docs-body .attachment { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 10px 0; padding: 10px 12px; border: 1px solid var(--lq-line); border-radius: 5px; }
.lq-docs-body .attachment span { color: var(--lq-muted); font-size: 13px; font-weight: 700; }

@media (max-width: 720px) {
  .lq-docs { width: min(100% - 28px, 1400px); margin-top: 20px; }
  .lq-docs-search { flex-basis: 100%; }
  .lq-docs-layout { display: flex; flex-direction: column; gap: 16px; padding-top: 14px; }
  .lq-docs-sidebar { padding: 0; border: 0; }
  .lq-docs-sidebar nav { --lq-toggle-width: 44px; --lq-row-height: 44px; }
  .lq-docs-sidebar nav li > a { padding-block: 10px; }
  .lq-docs-directory-toggle > summary { display: list-item; padding: 8px 12px; border: 1px solid var(--lq-line); border-radius: 5px; background: var(--lq-soft); cursor: pointer; }
  .lq-docs-directory-toggle nav { margin-top: 8px; }
}
